@mainColor:rgb(192, 0, 0);
*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
input[type="search"]{
  margin-bottom: 0;
}
a{
  display: block;
  color: #666;
}
img{
  width: 100%;
}
ul{
  list-style: none;
}
body{
  // background-color: #fff;
}

// header
.header{
  background-color: @mainColor;
  a,h1{
    color: #fff;
  }
}

// header
#pyg_header{
  width: 100%;
  height: 40px;
  padding:3px 5px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  background-color: #f1f1f1;
}

#pyg_footer{
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 99;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #fff;
  // color: #666;
  a{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    // color: inherit;
    span{
      font-size: 12px;
    }
    .fa{
      font-size: 20px;
    }
  }
}
.active{
  color: rgb(192, 0, 0);
}

.loadding {
  &::before {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: .5;
    content: "";
    z-index: 100;
  }
  &::after {
    font: normal normal normal 14px/1 FontAwesome;
    position: fixed;
    top: 40%;
    left: 50%;
    margin-left: -50px;
    font-size: 100px;
    color: rgb(192, 0, 0);
    // color: #0094ff;
    content: "\f110";
    z-index: 101;
    animation: fa-spin 1s infinite linear, changeColor 0.2s infinite linear;
  }
}
@keyframes changeColor{
  0%{
    color: rgb(192, 0, 0);
  }
  50%{
    color: #0094ff;
  }
  100%{
    color: rgb(192, 0, 0);
  }
}